< previous page page_772 next page >

Page 772
0772-01.jpg
Figure A.12
The Project window, shown undocked, shows the
different types of files that make up the open project(s).
When you save a project, you're basically saving a list of the various files that make up a project. The project file itself is stored with a default extension of .VBP (Visual Basic Project). Several other types of files make up the components of the projects. Some of the more common types are listed in Table A.3.
Table A.3 Visual Basic File Types
File TypeExtension
Visual Basic Form.FRM
Code Module.BAS
Class Module.CLS
User-Created Control.CTL
ActiveX Document Form File.DOB

The Project window uses an outline list to show you not only the forms and code modules in the open project(s), but also any class modules, user-defined controls, or property pages. You can view your project in two ways. The folder view, which you can access by clicking the left button, displays the parts of your project organized by category. On the other hand, clicking the rightmost button lists the elements of your project based on their associated filenames.
Where Work Gets Done
The final piece of the desktop is one or more Code windows. In Code windows, you do all the entry and editing of program code that allows your programs to actually perform tasks (see Figure A.13). Each form has its own associated Code window. A project can also contain a couple of types of standalone Code windows known as modules. To access a Code window, you can double-click a form or one of its objects, or you can click the View Code button in the Project window while the appropriate object is highlighted.

 
< previous page page_772 next page >